<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" />    -->
    <title>Document</title>
    <style>
      .box {
        width: 100px;
        height: 100px;
        background-color: red;
        transition: all 1s ease-in-out 1s;
      }
      .box:hover {
        /* width: 500px;
        height: 500px; */

        /* transform: translateX(500px); */
        /* transform:scale(2) */
        /* transform: rotate(45deg); */
        transform: rotate(666turn);
        transition-delay: 1s;
        transition-property: all;
        transition-duration: 59s;
        transition-timing-function: cubic-bezier(0.34, 0, 0.84, 1);
        /* animation: rotate 1s cubic-bezier(.34,0,.84,1) 59s infinite; */
      }

      /* @keyframes rotate {
        0% {
            transform: rotateZ(666turn);
        }
        100% {
            transform: rotateZ(666turn); 
        }
      } */
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
